package com.ccys.cms.service.masterData;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.masterData.*;
import com.ccys.db.entity.TblCountry;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.masterData.CountryListVo;
import com.ccys.db.vo.masterData.CountryPageQueryVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @program: WhiteCoat
 * @description: 国家
 * @author: ZhangJingCan
 * @create: 2023-12-13 11:25
 **/
public interface CountryService extends BaseService<TblCountry> {
    ResponseResult saveCountry(CountrySaveDto dto);

    ResponseResult deleteCountry(CountryIdDto dto);

    ResponseResult<PageInfo<CountryPageQueryVo>, Object> findPageCountry(CountryPageQueryDto dto);

    ResponseResult findListServiceTypeAndProfileTypeByCountryId(CountryIdDto dto);

    ResponseResult updateServiceType(CountryServiceTypeDto dto);

    ResponseResult updateCountryServiceTypeProfileType(CountryServiceTypeProfileTypeDto dto);

    ResponseResult<List<CountryListVo>, Object> findList();

    ResponseResult countrySetDoc(CountrySetDocDto dto);
}
